package com.wetao.lib_common.greendao.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class PagePictureGrid {
    @Id(autoincrement = true)
    private Long id;
    @NotNull
    private Integer questionId;
    //试题序号
    private Integer questionNo;
    //格子起始点x坐标
    private Float startX;
    //格子起始点y坐标
    private Float startY;
    //格子结束点x坐标
    private Float endX;
    //格子结束点y坐标
    private Float endY;

    private Integer questionType;

    @NotNull
    private Long pagePictureId;

    @Generated(hash = 734138729)
    public PagePictureGrid(Long id, @NotNull Integer questionId, Integer questionNo,
            Float startX, Float startY, Float endX, Float endY,
            Integer questionType, @NotNull Long pagePictureId) {
        this.id = id;
        this.questionId = questionId;
        this.questionNo = questionNo;
        this.startX = startX;
        this.startY = startY;
        this.endX = endX;
        this.endY = endY;
        this.questionType = questionType;
        this.pagePictureId = pagePictureId;
    }

    @Generated(hash = 932354179)
    public PagePictureGrid() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getQuestionId() {
        return this.questionId;
    }

    public void setQuestionId(Integer questionId) {
        this.questionId = questionId;
    }

    public Integer getQuestionNo() {
        return this.questionNo;
    }

    public void setQuestionNo(Integer questionNo) {
        this.questionNo = questionNo;
    }

    public Float getStartX() {
        return this.startX;
    }

    public void setStartX(Float startX) {
        this.startX = startX;
    }

    public Float getStartY() {
        return this.startY;
    }

    public void setStartY(Float startY) {
        this.startY = startY;
    }

    public Float getEndX() {
        return this.endX;
    }

    public void setEndX(Float endX) {
        this.endX = endX;
    }

    public Float getEndY() {
        return this.endY;
    }

    public void setEndY(Float endY) {
        this.endY = endY;
    }

    public Long getPagePictureId() {
        return this.pagePictureId;
    }

    public void setPagePictureId(Long pagePictureId) {
        this.pagePictureId = pagePictureId;
    }

    public Integer getQuestionType() {
        return this.questionType;
    }

    public void setQuestionType(Integer questionType) {
        this.questionType = questionType;
    }


}
